<?php

class Model extends Database
{
	function runQuery($sql)
	{
		$query = $this->prepare($sql);
		return $query->execute();
	}
	
	function runSelect($sql)
	{
		$query = $this->prepare($sql);
		$query->execute();
		return $query->fetchAll(PDO::FETCH_ASSOC);
	}
}
?>